<?php 
include '../data/data.php';
$user=$_SESSION['user']; //获取到的用户名
$pass=$_SESSION['pass']; //获取到的密码
$result= mysql_query("SELECT * FROM user WHERE username='$user' and password='$pass'", $link);  
$row = mysql_fetch_array($result);
if($row[id]==''){
	header('location:/user/login.html?fwd=/pay/deposit.html');
}
?>
<html><head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>选择金额 - <?php echo $rowx[name]; ?></title>
<link rel="stylesheet" href="/public/styles/base.css">
<link rel="stylesheet" href="/styles/pay_edit.css">
<link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/css/new.css">
    <style>
        body, html, div {
            padding: 0;
            margin: 0;
            height: 50%;
        }
    </style>
<link id="layuicss-layer" rel="stylesheet" href="/layui/css/modules/layer/default/layer.css?v=3.1.1" media="all"></head>
<body class="bg00">
<!--div.container 总外框  start-->
<div class="z_container bg01">
        <header class="z_header">
        <div class="toptil">
            <a href="/user/user.html"><img src="/picture/icon_20.png" alt=""></a>
            <p>充值中心</p>
        </div>
    </header>
        <!--div.z_min 内容区域 statr-->
    <form class="z_main" data-role="conent" action="/api/choosepay" method="post">
        <div class="payway">
            <p>充入账号</p>
        </div>
        <h3 class="block_bg your_money" style="position:relative">
            <b class="bold green" style="font-size:13px;font-weight:bold;color:rgba(51,51,51,1);"><?php echo $user; ?></b>
            <span class="fr" style="position:absolute; right:16px;font-size: 13px;">(卡密请联系客服获取)</span>
<!--            <input type="hidden" name="UserName" value="--><!--">-->
        </h3>
        <div class="payway">
            <p>请输入激活码卡密</p>
        </div>
        <section class="block_bg choses">
            <ul>
<!--                <li>-->
<!--                    <span data-type="iapppay" class="checkbox checkbox_active"><i></i></span>-->
<!--                    <span class="i_zfb"><i></i></span>-->
<!--                    <span>在线支付</span>-->
<!--                </li>-->
                <li>
<input style="width: 90%;display: inline-block;border: none;font-size: 18px;color: #f70f0f;padding-left: 16px;" type="text" id="kam" name="kam" lay-verify="required" placeholder="卡密框" autocomplete="off" class="layui-input">
           
                </li>
         </ul>
        </section>

        <div class="payway">
            <p>选择支付方式</p>
        </div>
        <section class="block_bg choses">
            <ul>
<!--                <li>-->
<!--                    <span data-type="iapppay" class="checkbox checkbox_active"><i></i></span>-->
<!--                    <span class="i_zfb"><i></i></span>-->
<!--                    <span>在线支付</span>-->
<!--                </li>-->
                <li>
                    <span data-type="cdk" class="checkbox checkbox_active"><i></i></span>
                    <span>激活码</span>
                </li>
<!--                               <li>
                    <span data-type="wxpay" class="checkbox"><i></i></span>
                    <span class="i_weixin"><i></i></span>
                    <span>微信</span>
                </li> -->
<!--                -->            </ul>
        </section>

        <div class="btn_cont">
            <button id="next_step" class="btn_green" type="button" style="width: 80%">确认充值</button>
        </div>
        <div class="footer_padding"></div>
    </form>
    <!--div.z_min 内容区域 end-->
</div>
<!--div.container 总外框  end-->
<!--footer 底部 start-->
<footer id="footer" class="z_footer" style="">
    <nav>
        <a target="_top" href="/index.html" style="margin-left: 2%;" >
            <p class="img_1"><img src="/picture/home.png" alt=""></p>
            <p class="img_2"><img src="/picture/home1.png" alt=""></p>
            <span>首页</span>
        </a>
        <a target="_top" href="/game/type.html?tc=GM" >
            <p class="img_1"><img src="/picture/game.png" alt=""></p>
            <p class="img_2"><img src="/picture/game1.png" alt=""></p>
            <span>GM</span>
        </a>
        <a target="_top" href="/game/game.html?tc=rm" title="">
            <p class="img_1"><img src="/picture/game.png" alt=""></p>
            <p class="img_2"><img src="/picture/game1.png" alt=""></p>
            <span>BT</span>
        </a>
        <a target="_top" href="/user/user.html" title="" id="footer_nav_active">
            <p class="img_1"><img src="/picture/user.png" alt=""></p>
            <p class="img_2"><img src="/picture/user1.png" alt=""></p>
            <span>我的</span>
        </a>
    </nav>
</footer>
<link href="/css/app.css" rel="stylesheet" type="text/css">
<div id="weixin_an" style="display: none">
    <div class="click_opacity"></div>
    <div class="to_btn">
        <span class="span1"><img src="/public/channel/click_btn.png"></span>
        <span class="span2"><em>1</em> 点击右上角<img src="/public/channel/menu_android.png">打开菜单</span>
        <span class="span2 android_open"><em>2</em> 选择<img src="/public/channel/android.png"></span>
        <span class="span2 android_open"><em>3</em> 重新登录账号充值</span>
    </div>
</div>

<!--二维码-->
<script src="/public/scripts/jquery-1.11.1.min.js"></script>
<script src="/public/scripts/jquery.qrcode.min.js"></script>
<script src="/pay/pay.js"></script>
<!--<div class="qrcode_image">-->
<!--        <img src="/qrcode/game.html?addr=--><!--">-->
<!--</div>-->


<script src="/public/scripts/jquery-1.11.1.min.js"></script>
<script src="/public/scripts/jquery.mobile.min.js"></script>
<script src="/layui/layui.js"></script>
<script>


</script>

</body></html>